import request from '@/utils/request'

// 查询投递标书列表
export function listDelv(query) {
  return request({
    url: '/purs/delv/list',
    method: 'get',
    params: query
  })
}

// 查询投递标书详细
export function getDelv(delvId) {
  return request({
    url: '/purs/delv/' + delvId,
    method: 'get'
  })
}

// 新增投递标书
export function addDelv(data) {
  return request({
    url: '/purs/delv',
    method: 'post',
    data: data
  })
}

// 修改投递标书
export function updateDelv(data) {
  return request({
    url: '/purs/delv',
    method: 'put',
    data: data
  })
}

// 删除投递标书
export function delDelv(delvId) {
  return request({
    url: '/purs/delv/' + delvId,
    method: 'delete'
  })
}
